/**
 * com.cnhis.his.customer.bo.SysrolePermissionsBo.java
 */
package com.mbmed.doctor.medadvice.bo;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mbmed.doctor.medadvice.dao.Restin1Dao;

/**
 * @file  SysrolePermissionsBo.java
 * @author 刘武
 * @version 0.1
 * @todo	SysrolePermissions业务操作接口
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-12-24 10:10:36
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@Service
public class Restin1Bo {
	@Resource
	private Restin1Dao restin1Dao;
	

    /**
	 * @param sysrolePermissionsDao the sysrolePermissionsDao to set
	 */
	public void setSysrolePermissionsDao(Restin1Dao restin1Dao) {
		this.restin1Dao = restin1Dao;
	}

	
	public List getAdviceUndo(String str){
		return restin1Dao.selectAdviceUndo(str);
	}
	
	
	public boolean toDelRestin(String str){
		return restin1Dao.toDelRestin(str);
	}
	
}
